import  numpy as np
persontype=np.dtype([("name","U20"),("age","i")])
personInfos=np.array([("曹操",28),("刘备",28)],persontype)
print(personInfos)
print(personInfos["name"])
print(personInfos[0])
print(personInfos[0]["name"])
    